package com.xt.service;

import com.xt.bean.Class;
import org.springframework.data.domain.Page;

/**
 * Created by XT on 2018/5/4.
 */
public interface ClassService {
    void saveOrUpdateOne(Class c);

    void deleteOne(String id);

    Class getById(String id);

    Page<Class> getListByPage(String departmentId, String specialtyId, String name, String year, int count, int pageNo, String sortDirection, String... sortField);
}
